package edu.pku.sei.transformation.editor.model;

import edu.pku.sei.modeler.model.core.MetaModelElement;
import edu.pku.sei.transformation.editor.model.pattern.ILinkTemplate;
import edu.pku.sei.transformation.editor.model.pattern.INodeTemplate;
import edu.pku.sei.transformation.editor.model.pattern.Pattern;

public class CommentConnection extends MetaModelElement implements ILinkTemplate {
	//ILinkTemplate
	private INodeTemplate source;
	private INodeTemplate target;
	private Pattern pattern;
	
	@Override
	public INodeTemplate getSource() {
		return source;
	}

	@Override
	public INodeTemplate getTarget() {
		return target;
	}

	@Override
	public void setSource(INodeTemplate source) {
		this.source = source;
	}

	@Override
	public void setTarget(INodeTemplate target) {
		this.target = target;
	}

	@Override
	public Pattern getPattern() {
		return pattern;
	}

	@Override
	public void setPattern(Pattern pattern) {
		this.pattern = pattern;
	}

}
